/*
 *  Copyright (c)  2016-NOW  Jacars Co.Ltd.
 *  All rights reserved.
 */
package com.jacars.biz.user.dao.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.jacars.common.model.JsptMenu;
import com.jacars.common.model.SuperEntity;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Set;

/**
 * 角色菜单关系表实体类
 *
 * @author JSPT Auto Generate
 * @since 2021-12-26
 */
@Data
@AllArgsConstructor
@TableName("jspt_user_top_menu")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TopMenu对象", description = "角色菜单关系表")
public class JsptTopMenu extends SuperEntity {

    private static final long serialVersionUID = 1L;

    // 顶层菜单编号
    @JsonSerialize(using = ToStringSerializer.class)
    private Long topId;

    // 菜单编号
    @JsonSerialize(using = ToStringSerializer.class)
    private Long menuId;
}
